

/*! \file ntfs_bitmap.h
 *  \brief 
 */

#ifndef __NTFS_BITMAP__H__
#define __NTFS_BITMAP__H__

int ntfs_get_free_bit_and_set( PBYTE bitmap, int n_count );
char ntfs_bit_get_and_set( PBYTE bitmap, LCN bit, char new_value );
char ntfs_bit_get( PBYTE bitmap, LCN bit);
void ntfs_bit_set( PBYTE bitmap, LCN bit, char new_value);
bool
ntfs_bitmap_alloc_cluster( 
                              IN  PBYTE p_bitmap,     \
                              IN  LCN   near_lcn,     \
                              IN  ULONG u_length,     \
                              OUT PLCN  p_start_lcn   \
                          );

#endif